package com.ds.security.custom;

import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

@Component
public interface CustomAuthenticationProvider extends AuthenticationProvider {


    @Override
    public Authentication authenticate(Authentication authentication);

    @Override
    public boolean supports(Class<?> authentication);
}
